package com.mycompany.crm.service;

import com.mycompany.crm.base.BaseMapper;
import com.mycompany.crm.base.BaseQuery;
import com.mycompany.crm.vo.DataDic;

import java.util.Map;

/**
 * @author jy
 * @version 1.0
 * @date 2022/4/4 11:37
 */
public interface DataDicService extends BaseMapper<DataDic,Integer> {



    /**
     * 分页多条件查询字典列表
     * @param baseQuery
     * @return
     */
    Map<String, Object> queryByParamsForTable(BaseQuery baseQuery);


    /**
     * 添加数据字典
     * @param dataDic
     */
    void saveDataDic(DataDic dataDic);

    /**
     * 更新数据字典
     * @param dataDic
     */
    void updateDataDic(DataDic dataDic);
}
